package testview.zhen.com.myapplication.mvp;

import testview.zhen.com.myapplication.mvp.base.BaseView;

/**
 * Create by ldr
 * on 2019/8/7 16:28.
 */
public interface MainContract {
    interface model{
        String login(String name,String password);
    }
    interface View extends BaseView{
        @Override
        void showLoading();
        @Override
        void hideLoading();

        @Override
        void onError(Throwable throwable);
    }
    interface  Presenter{
        void login(String name,String password);
    }
}
